package tripx.sql;

/**
 * Define what a query should be like. The query will specify the following
 * message: <li><b>actionKey</b>: Identify this query.</li><li><b>actionSql</b>:
 * The sql to be executed.</li><li><b>paramCount</b>: How much parameter this
 * query will take.</li>
 * 
 * @author zhb
 * 
 */
public class SqlAction {

	private String actionKey;

	private String actionSql;

	private int paramCount;

	public SqlAction(String actionKey, String actionSql, int paramCount) {
		this.actionKey = actionKey;
		this.actionSql = actionSql;
		this.paramCount = paramCount;
	}

	public String getActionKey() {
		return actionKey;
	}

	public String getActionSql() {
		return actionSql;
	}

	public int getParamCount() {
		return paramCount;
	}
}
